<?php
/*
	Version   :  1.0
	Created   :  20090806
	Modified  :  --
	Author    :  Pablo Ramírez
	co-Author :
	Descr     : Modelo de Entidad "Owners"
	Changelog :
*/
class PriceList extends AppModel
{
	var $name       = 'PriceList';
	var $useTable	= 'owners_price_list';
	var $id         = 'id_price';
	var $primaryKey = 'id_price';
	//var $displayField = 'own_nombre';
	var $belongsTo = array( 'Owner'			=> array('className'  => 'Owner', 
													 'foreignKey' => 'own_codigo'));

	/*var $validate   = array('own_codigo'     => VALID_NOT_EMPTY,
							'own_nombre'     => VALID_NOT_EMPTY,
							'own_contacto'   => VALID_NOT_EMPTY,
							'own_estado'     => VALID_NOT_EMPTY,
							'own_direccion1' => VALID_NOT_EMPTY,
							'own_telefono1'  => VALID_NOT_EMPTY,
							'own_mail'       => VALID_NOT_EMPTY);
	
	*/
	
}
?>